package com.qianbao.service.step;

import com.qianbao.components.excepion.CommonException;
import com.qianbao.domain.step.StepEntity;

public interface RunStepService {

    /**
     * 步数抓换为金币
     * @throws CommonException
     */
    public int stepChangeToCoin(StepEntity entity) throws CommonException;


    /**
     * 查询可转换的金币数量
     * @throws CommonException
     */
    public int findCanChangeCoin(StepEntity entity) throws CommonException;


    /**
     * 定时清空用户的步数
     * @throws CommonException
     */
    public void clearUserStep() throws CommonException;




}
